home *** CD-ROM | disk | FTP | other *** search
/ PC User 2004 August / Disc 1 / PCU0804CD1.iso / software / browsers / files / opera1.exe / OPERA.JAR / com / opera / PluginClassLoader$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-02-12  |  1003 b   |  30 lines

  1. package com.opera;
  2.  
  3. import java.net.InetAddress;
  4. import java.net.SocketPermission;
  5. import java.net.UnknownHostException;
  6. import java.security.PermissionCollection;
  7. import java.security.PrivilegedAction;
  8.  
  9. class PluginClassLoader$1 implements PrivilegedAction {
  10.    // $FF: synthetic field
  11.    private final PermissionCollection val$permColl;
  12.    // $FF: synthetic field
  13.    private final PluginClassLoader this$0;
  14.  
  15.    PluginClassLoader$1(PluginClassLoader var1, PermissionCollection var2) {
  16.       this.this$0 = var1;
  17.       this.val$permColl = var2;
  18.    }
  19.  
  20.    public Object run() {
  21.       try {
  22.          String var1 = InetAddress.getLocalHost().getHostName();
  23.          this.val$permColl.add(new SocketPermission(var1, "connect,accept"));
  24.       } catch (UnknownHostException var2) {
  25.       }
  26.  
  27.       return null;
  28.    }
  29. }
  30.